import * as mongoose from 'mongoose'

export const UserSchema = new mongoose.Schema(
    {
        id: Number,
        name: String,
        introduction: String,
        headurl: String,
        bigurl: String,
        username: String,
        password: String,
    },
    { collection: 'user', versionKey: false },
)
